package com.example.marketing.business;

import java.math.BigDecimal;
import java.util.Date;

public class Coupon {

    private final String couponId;
    private final String couponName;
    private final BigDecimal discountAmount;
    private final Date validFrom;
    private final Date validTo;

    public Coupon(String couponId, String couponName, BigDecimal discountAmount,
                  Date validFrom, Date validTo) {
        this.couponId = couponId;
        this.couponName = couponName;
        this.discountAmount = discountAmount;
        this.validFrom = validFrom;
        this.validTo = validTo;
    }

    public String getCouponId() {
        return couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public Date getValidFrom() {
        return validFrom;
    }

    public Date getValidTo() {
        return validTo;
    }
}
